package statisticsde;

import java.util.Date;

public class Page {
        private String url;
        private int  visitnum;
        private Date lastvisit;
        public Page(){}
        public Page(String url) {
            this.url = url;
            this.visitnum = 0;
            this.lastvisit = new Date();
        }
        public String getUrl() {
            return url;
        }
        public void setUrl(String url) {
            this.url = url;
        }
        public int getVisitnum() {
            return visitnum;
        }
        public void setVisitnum(int visitnum) {
            this.visitnum = visitnum;
        }
        public Date getLastvisit() {
            return lastvisit;
        }
        public void setLastvisit(Date lastvisit) {
            this.lastvisit = lastvisit;
        }


    }


